.comment
  / A specific comment
  .author
    - if params[:controller] == "comments"
      You just posted:
    - else 
      - if comment.user_id
        = "##{link_to counter, {}, :name => "comment-#{comment.id}"} by #{link_to(h(comment.name))} #{cachable_time_ago_in_words(comment.updated_at)} ago"       
      - else
        = "##{link_to counter, {}, :name => "comment-#{comment.id}"} by #{h(comment.name)} #{cachable_time_ago_in_words(comment.updated_at)} ago"
  - if APP_SETTINGS[:allow_comment_voting]
    .controls
      = link_to_remote(image_tag("icons/arrow-up.gif", :alt => "+"), :url => { :controller => "votes", :action => "comment_vote_down", :id => comment.id })
      = link_to_remote(image_tag("icons/arrow-down.gif", :alt => "-"), :url => { :controller => "votes", :action => "comment_vote_up", :id => comment.id })
      = link_to_remote(image_tag("icons/exclaim.gif", :alt => "!"), :url => { :controller => "votes", :action => "comment_vote_report", :id => comment.id })
  %br{:style => "clear: both"}
  .avatar
    = image_tag(avatar_for(comment.email, {:rating => "R", :size => 40}), :size => "40x40") if comment.email
  - if comment.user  
    .registered
      ~ comment.parsed_body
  - else
    .unregistered
      ~ comment.parsed_body 
  %br{:style => "clear: both"}